Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native support for modal cloud from CLI #2237

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Conversation

winglian
Copy link
Collaborator

@winglian winglian commented Jan 6, 2025

No description provided.

@winglian
Copy link
Collaborator Author

winglian commented Jan 8, 2025

I think we also need to figure out pushing local datasets to modal too for this feature.

if wandb_project:
wandb_args.append(f"project={wandb_project}")
if wandb_entity:
wandb_args.append(f"entity={wandb_entity}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed these two args for wandb, how about wandb_name?


if family == "l40s":
return modal.gpu.L40S(count=count)
if family == "a100":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following convention for 80gb, should this be "a100-40gb"?

if env := self.get_env():
image = image.env(env)

image = image.pip_install("fastapi==0.110.0", "pydantic==2.6.3")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is fastapi for?

return res

def get_image(self):
docker_tag = "main-py3.11-cu124-2.5.1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we default to the stable tag or keep latest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants